.add-container {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.add-form {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.add-form h2 {
  text-align: center;
  margin-bottom: 24px;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

.upload-status {
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 14px;
  color: #666;
  text-align: center;
  border: 1px solid #e9ecef;
}

.preview {
  margin-top: 12px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.preview img,
.preview video {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #0056b3;
}

/* Mobile-specific styles */
@media (max-width: 480px) {
  .add-container {
    padding: 12px;
  }

  .add-form {
    padding: 16px;
  }

  .form-group input[type="text"],
  .form-group input[type="number"],
  .form-group textarea {
    font-size: 14px;
    padding: 10px;
  }

  .submit-btn {
    padding: 12px;
    font-size: 14px;
  }

  .upload-status {
    font-size: 12px;
    padding: 6px 10px;
  }
} 